package com.tyson.context.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 收藏时间
 * </p>
 *
 * @author 沈统顺
 * @since 2021-02-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="BlCollection对象", description="收藏时间")
public class BlCollection implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "收藏id")
    @TableId(value = "collection_id", type = IdType.AUTO)
    private String collectionId;

    @ApiModelProperty(value = "帖子id")
    private String blogId;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "收藏时间")
    private Date collectionTime;


}
